Impedance matching circuit with automatic adjustment and method thereof

ABSTRACT

The present invention discloses an impedance matching circuit with automatic adjustment and a method thereof. The impedance matching circuit comprises: a resistor, for receiving a reference voltage and generating a reference current; a detection unit, for detecting resistance variation and generating a plurality of comparison voltages according to said reference current; a comparison unit, for comparing said reference voltage with said comparison voltages, and generating a control signal; and a composite resistor unit, for receiving said control signal and generating a matched impedance. Therefore, a matched impedance value can be obtained within a designed range in despite of the manufacturing process and the operation environment.

BACKGROUND OF THE INVENTION

[0001] 1. Field of the Invention

[0002] The present invention generally relates to an impedance matching circuit with automatic adjustment and a method thereof and, more particularly, to an impedance matching circuit with automatic adjustment by using a composite resistor unit so as to generate a resistance value within a designed range and an impedance matching method.

[0003] 2. Description of the Prior Art

[0004] For a high-speed transmission interface, as shown in FIG. 1, it is critical for the parameters such as the output impedance (Zout) of the transceiver 11, the input impedance (Zin) of the receiver 12 and the characteristic impedance of the cable 13 to meet one of the international standards so as to prevent the undesired reflection and thus achieve better transmission efficiency during signal transmission. Universal serial bus (USB 2.0) standard, for example, requires a transmission rate of 480 MHz and an output impedance of 45±10% Ω. However, the environment for operating the high-speed transmission interface may vary and the parameters of the interface may not be consistent due to the fabrication process, the output impedance may not be stable and the transmission performance may be adversely affected.

[0005] In general, among the above parameters, the output impedance is the most difficult one to keep stable. Therefore, an external device is usually added so as to perform fine tuning on the impedance value. Even though such as method can solve the problem related to the fabrication process; however, it can not overcome the inaccuracy due to the varying environment (such as temperature) during operation.

SUMMARY OF THE INVENTION

[0006] In view of these problems, it is the primary object of the present invention to provide an impedance matching circuit with automatic adjustment.

[0007] It is a secondary object of the present invention to provide an impedance matching method.

[0008] In order to achieve the foregoing objects, the present invention provides an impedance matching circuit with automatic adjustment, comprising: a resistor, for receiving a reference voltage and generating a reference current; a detection unit, for detecting resistance variation and generating a plurality of comparison voltages according to said reference current; a comparison unit, for comparing said reference voltage with said comparison voltages, and generating a control signal; and a composite resistor unit, for receiving said control signal and generating a matched impedance.

[0009] The present invention further provides an impedance matching method, comprising steps of: a detection step, including: providing a reference voltage and a reference resistor, generating a reference current according to said reference resistor, and generating a plurality of comparison voltages corresponding to various resistance values according to said reference current; a comparison step, including: comparing said reference voltage with said plurality of comparison voltages, and generating a control signal; and a composite resistor step, including: controlling a composite resistor unit having a plurality of switches by using said control signal so as to generate a matched impedance; wherein said control signal controls the operation of said switches.

[0010] Other and further features, advantages and benefits of the invention will become apparent in the following description taken in conjunction with the following drawings. It is to be understood that the foregoing general description and following detailed description are exemplary and explanatory but are not to be restrictive of the invention. The accompanying drawings are incorporated in and constitute a part of this application and, together with the description, serve to explain the principles of the invention in general terms.

BRIEF DESCRIPTION OF THE DRAWINGS

[0011] The objects, spirits and advantages of the preferred embodiments of the present invention will be readily understood by the accompanying drawings and detailed descriptions, wherein:

[0012]FIG. 1 is a schematic diagram showing a conventional transmission interface;

[0013]FIG. 2 is a schematic block diagram showing an impedance matching circuit with automatic adjustment in accordance with the present invention;

[0014]FIG. 3 is a circuit diagram showing a first embodiment of the detection unit in accordance with the present invention;

[0015]FIG. 4 is a circuit diagram showing a comparison unit associated with the detection unit in FIG. 3;

[0016]FIG. 5 is a circuit diagram showing a composite resistor unit associated with the detection unit in FIG. 3;

[0017]FIG. 6 is a circuit diagram showing a second embodiment of the detection unit in accordance with the present invention;

[0018]FIG. 7 is a circuit diagram showing a comparison unit associated with the detection unit in FIG. 6;

[0019]FIG. 8 is a circuit diagram showing a composite resistor unit associated with the detection unit in FIG. 6;

[0020]FIG. 9A is a circuit diagram showing a third embodiment of the detection unit in accordance with the present invention;

[0021]FIG. 9B is a circuit diagram showing a fourth embodiment of the detection unit in accordance with the present invention;

[0022]FIG. 10 is a circuit diagram showing a comparison unit associated with the detection unit in FIGS. 9A and 9B;

[0023]FIG. 11 is a circuit diagram showing a composite resistor unit associated with the detection unit in FIGS. 9A and 9B; and

[0024]FIG. 12 is a timing diagram showing the signals controlling the switches of the detection unit in FIGS. 9A and 9B.

DETAILED DESCRIPTION OF THE INVENTION

[0025] The present invention providing an impedance matching circuit with automatic adjustment and a method thereof can be exemplified by the preferred embodiments as described hereinafter.

[0026] Please refer to FIG. 2, which is a schematic block diagram showing an impedance matching circuit with automatic adjustment in accordance with the present invention. As shown in FIG. 2, the impedance matching circuit 20 with automatic adjustment comprises a resistor Rb, a detection unit 21, a comparison unit 22 and a composite resistor unit 23. The detection unit 21 provides a reference voltage Vb across the resistor Rb, thereby generating a reference current Ib flowing through the resistor Rb. In addition, the detection unit 21 provides a plurality of current paths so as to generate a plurality of compassion voltages. The comparison unit 22 compares the reference voltage Vb and the comparison voltages so as to generate a control signal. The composite resistor unit 23 generates a resistance value according to the control signal.

[0027]FIG. 3 is a circuit diagram showing a first embodiment of the detection unit 21 in accordance with the present invention. As shown in FIG. 3, the detection unit 21 comprises an operational amplifier 211, a reference current path Pb and (m+1) comparison current paths P0˜Pm. The reference current path Pb comprises transistors Ta, Tb and the resistor Rb. The non-inverting input terminal of the operational amplifier 211 receives a reference signal Vb′, the inverting input terminal is connected to the source of the transistor Ta, and the output terminal is connected to the gate of the transistor Ta. Therefore, the voltage across the resistor Rb, namely the reference voltage Vb, is nearly identical to the voltage Vb′ at the non-inverting terminal of the operational amplifier 211. The reference current Ib is expressed as:

I _(b) =V _(b) /R _(b)  (1)

[0028] Therefore the current flowing through the transistor Tb is Ib. Each of the (m+1) comparison current paths P0˜Pm is composed of a transistor T0˜Tm and a comparison resistor R1, R21˜R2m connected in series so as to generate a comparison voltage V0˜Vm across the comparison resistor. A current mirror is formed of the transistor T0˜Tm and the transistor Tb of the reference current path Pb. Therefore, if the transistors in each of the comparison current paths have the same aspect ratio, the currents flowing through the transistors in each of the comparison current paths will be proportional to Ib. Moreover, the resistance values in each of the comparison current paths are not identical and decrease by degrees from P0 to Pm. That is, R1>R21>R22> . . . >R2m. In the present invention, a single resistor R1 is employed in the comparison current path P0, a resistor R1 and a resistor R2 are connected in parallel in the comparison current path P1, a resistor R1 and two resistors R2 are connected in parallel in the comparison current path P2, . . . , and a resistor R1 and m resistors R2 are connected in parallel in the comparison current path Pm. The currents in each of the comparison current paths are identical, therefore the comparison voltages V0˜Vm across the comparison resistors decrease by degrees. The voltages can be expressed as: $\begin{matrix} {V_{0}\quad = {{a\quad {I_{b} \cdot R_{1}}} = {{\frac{{aV}_{b}}{R_{b}} \cdot {nR}_{s}} = {\frac{{anR}_{s}}{R_{b}} \cdot V_{b}}}}} \\ {V_{1}\quad = {{{{aI}_{b} \cdot R_{1}}//R_{2}} = {{\frac{{aV}_{b}}{R_{b}} \cdot \frac{x}{x + 1} \cdot {nR}_{s}} = {\frac{{anR}_{s}}{R_{b}} \cdot \frac{x}{x + 1} \cdot V_{b}}}}} \\ {V_{2}\quad = {{{{a\quad {I_{b} \cdot R_{1}}}//R_{2}}//R_{3}} = {{\frac{{aV}_{b}}{R_{b}} \cdot \frac{x}{x + 2} \cdot {nR}_{s}} = {\frac{{anR}_{s}}{R_{b}} \cdot \frac{x}{x + 2} \cdot V_{b}}}}} \end{matrix}$ … $V_{m} = {{{{{a\quad {I_{b} \cdot R_{1}}}//R_{2}}//\ldots}\quad//R_{3}} = {{\frac{{aV}_{b}}{R_{b}} \cdot \frac{x}{x + m} \cdot {nR}_{s}} = {\frac{{anR}_{s}}{R_{b}} \cdot \frac{x}{x + m} \cdot V_{b}}}}$

[0029] wherein R1 equals to n·R_(s), R2 equals to x·n·R_(s), and Rs is the sheet resistance per unit area. Moreover, in the comparison current paths P1˜Pm, switches SW are employed to compensate the resistance values of the control switches of the composite resistors. Therefore, all the switches are on ON states.

[0030]FIG. 4 is a circuit diagram showing a comparison unit 22 associated with the detection unit in FIG. 3. In FIG. 4, the comparison unit 22 is composed of (m+1) comparators. The inverting input terminal of each comparator receives a reference voltage Vb, the non-inverting input terminal receives a comparison voltage V0˜Vm, and the output terminal outputs a control signal TS0˜TSm. Since the comparison voltage V0˜Vm decreases by degrees, there are (m+2) states for the control signals TS0˜TSm. Each of the states is described as below:

[0031] State 0: All the control signals TS0˜TSm are LOW. Meanwhile, V0 is smaller than Vb, thus $R_{s} < {\frac{R_{b}}{a \cdot n}.}$

[0032] State 1: The control signal TS0 is HIGH, while the other control signals TS1˜TSm are LOW. Meanwhile, V0 is larger than Vb and V1 is smaller than Vb, thus $\frac{R_{b}}{a \cdot n} \leq R_{s} < {\frac{x + 1}{x} \cdot {\frac{R_{b}}{a \cdot n}.}}$

[0033] State 2: The control signals TS0˜TS1 are HIGH, while the other control signals TS2˜TSm are LOW. Meanwhile, V1 is larger than Vb and V2 is smaller than Vb, thus ${\frac{x + 1}{x} \cdot \frac{R_{b}}{a \cdot n}} \leq R_{s} < {\frac{x + 2}{x} \cdot {\frac{R_{b}}{a \cdot n}.}}$

[0034] State m: The control signals TS0˜TSm−1 are HIGH, while the control signal TSm is LOW. Meanwhile, Vm−1 is larger than Vb and Vm is smaller than Vb, thus ${\frac{x + m - 1}{x} \cdot \frac{R_{b}}{a \cdot n}} \leq R_{s} < {\frac{x + m}{x} \cdot {\frac{R_{b}}{a \cdot n}.}}$

[0035] State m+1: All the control signals TS0˜TSm are HIGH. Meanwhile, Vm is larger than Vb, thus ${\frac{x + m}{x} \cdot \frac{Rb}{a \times n}} \leq {R_{s}.}$

[0036] Accordingly, from the foregoing statements, it is obvious that State 0 as well as State m+1 represents the boundary of Rs and State 1 to State m represents an effective range of Rs. In other words, Rs ranges from $\frac{R_{b}}{a \cdot n}$

[0037] to $\frac{x + m}{x} \cdot \frac{R_{b}}{a \cdot n}$

[0038] with variation of ${\Delta \quad R_{s,{MAX}}} = {\frac{m \cdot R_{b}}{a \cdot n \cdot x}.}$

[0039]FIG. 5 is a circuit diagram showing a composite resistor unit 23 associated with the detection unit in FIG. 3. The composite resistor unit 23 is composed of a fundamental resistor R3 and (m+1) resistors R4 connected in parallel, wherein the fundamental resistor R3 is not provided with any switch, while each of the (m+1) resistors R4 is controlled by a switch SW0˜SWm, respectively. If the resistance value of R3 is p·Rs , the resistance value of R4 is x·p·Rs . The switches SW0˜SWm are controlled by the control signals TS0˜TSm, respectively, from the comparison unit 22. Therefore, there are (m+2) states for the resistance value of the composite resistor unit 23. If TSx is HIGH, the switch SWx is turned on; otherwise, the switch is off, where 0≦x≦m. These states are described hereinafter.← ${{{{State}\quad 0}:\quad {RT}} = {p \cdot R_{s}}},{{RT} < {\frac{p}{a \cdot n} \cdot {R_{b}.}}}$

[0040] From the fore-mentioned discussion, only from State 1 to State m are valid, therefore, RT reaches its maximum error at State 1. RT_((ERR, MAX)) is expressed as: $\begin{matrix} {{RT}_{({{ERR},{MAX}})} = {{\frac{p}{a \cdot n} \cdot \left\lbrack {R_{b} - {\frac{x}{x + 1} \cdot R_{b}}} \right\rbrack} = {\frac{p}{a \cdot n} \cdot \frac{1}{x + 1} \cdot R_{b}}}} & (2) \end{matrix}$

[0041] Now, the parameters a, m, n, p, x are determined hereinafter. To begin with, the error range of the resistance value RT of the composite resistor unit 23, the maximum deviation range of Rs, and the reference resistor Rb have to be determined in advance. Below are some assumptions:

[0042] Assumption 1: The reference resistor Rb is 6.25 kΩ.

[0043] Assumption 2: If the maximum deviation range of Rs, DR, is 40%, the maximum error range of the composite resistor RT is less than 10%.

[0044] Assumption 3: If the sheet resistance value per unit area Rs is equal to 50 Ω and then V0 is equal to Vb, and meanwhile, the composite resistor RT is smaller than 50Ω.

[0045] According to the foregoing assumptions, each parameter can be calculated by using the following 5 steps:

[0046] Step 1: By Eq. (2),

RT _((ERR,MAX))≦10%

x+1≧10

x≧9

[0047] Therefore, we take x=10.

[0048] Step 2: From Assumption 3,

(a·n·50)/R _(b)=1

a·n=R _(b)/50=125

[0049] Step 3:

ΔR _(s,MAX)/(R _(b)/(a·n))=m/x≧40%

m≧0.4·x=4

[0050] Therefore, we take m=4.

[0051] Step 4:

[0052] If we take a=2.5,

n=125/2.5=50.

[0053] Step 5: From Assumption 3, the detection state is State 1. Hence,

(x/(x+1))·p·R _(s)<50

p<(x+1)/x=1.1.

[0054] Therefore, we take p=1.

[0055] From Step 1 to Step 5, we obtain a=2.5, n=50, p=1, m=4, and x=10. These values are then applied in Eq. (2) so that results can be obtained, as shown in Table 1. Note that the unit is in Ω. TABLE I State 0 R_(s) < 50 RT < 50 State 1 50 ≦ R_(s) < 55 45.45 ≦ RT < 50 State 2 55 ≦ R_(s) < 55 45.83 ≦ RT < 50 State 3 60 ≦ R_(s) < 55 45.15 ≦ RT < 50 State 4 65 ≦ R_(s) < 55 46.43 ≦ RT < 50 State 5 70 ≦ R_(s) 46.67 ≦ RT ΔR_(s,MAX) = 20 RT_(ERR,MAX) = 4.55 ΔR_(s,MAX)/50 = 40% RT_(ERR,MAX)/50 = 9.1%

[0056] According to Table 1, even though the variation of Rs is as high as 40%, the variation of RT is only 9.1%.

[0057]FIG. 6 is a circuit diagram showing a second embodiment of the detection unit 21′ in accordance with the present invention. As shown in FIG. 6, the detection unit 21′ is similar to the detection unit 21 in FIG. 3 that the former also comprises an operational amplifier 211, a reference current path Pb and (m+1) comparison current paths P0˜Pm. The major difference of the detection unit 21′ from detection unit 21 is that the resistance values in each of the comparison current paths in the second embodiment increase by degrees from P0 to Pm. That is, R1<R51<R52<. . . <R5m. In the present embodiment, if R1 is equal to n·R_(s), the resistance value of R51, R52, . . . , R5m is designed to be (n+x)·R_(s), (n+2x)·R_(s), . . . , and (n+mx)·R_(s), respectively. Thus, the comparison voltages V0˜Vm across the comparison resistors increase by degrees. The voltages can be expressed as: $V_{0} = {{{aI}_{b} \cdot {nR}_{s}} = {\frac{{anR}_{s}}{R_{b}} \cdot V_{b}}}$ $V_{1} = {{{aI}_{b} \cdot \left( {n + x} \right) \cdot R_{s}} = {\frac{a \cdot \left( {n + x} \right) \cdot R_{s}}{R_{b}} \cdot V_{b}}}$ $V_{2} = {{{aI}_{b} \cdot \left( {n + {2x}} \right) \cdot R_{s}} = {\frac{a \cdot \left( {n + {2x}} \right) \cdot R_{s}}{R_{b}} \cdot {V_{b}}_{}}}$ … $V_{m} = {{{aI}_{b} \cdot \left( {n + {mx}} \right) \cdot R_{s}} = {\frac{a \cdot \left( {n + {mk}} \right) \cdot R_{s}}{R_{b}} \cdot V_{b}}}$

[0058] Moreover, in the comparison current paths P0˜Pm, switches SW are employed to compensate the resistance values of the control switches of the composite resistors. Therefore, all the switches are on ON states.

[0059]FIG. 7 is a circuit diagram showing a comparison unit associated with the detection unit 21′ in FIG. 6. In FIG. 6, the comparison unit 22′ is composed of (m+1) comparators. The non-inverting input terminal of each comparator receives a reference voltage Vb, the inverting input terminal receives a comparison voltage V0˜Vm, and the output terminal outputs a control signal TS0˜TSm. Since the comparison voltage V0˜Vm increases by degrees, there are (m+2) states for the control signals TS0˜TSm. Each of the states is described as below:

[0060] State 0: All the control signals TS0˜TSm are LOW. Meanwhile, V0 is larger than Vb, thus $R_{s} > {\frac{R_{b}}{a \cdot n}.}$

[0061] State 1: The control signal TS0 is HIGH, while the other control signals TS1˜TSm are LOW. Meanwhile, V0 is smaller than Vb and V1 is larger than Vb, thus $\frac{R_{b}}{a \cdot n} \geq R_{s} > {\frac{R_{b}}{a \cdot \left( {n + x} \right)}.}$

[0062] State 2: The control signals TS0˜TS1 are HIGH, while the other control signals TS2˜TSm are LOW. Meanwhile, V1 is smaller than Vb and V2 is larger than Vb, thus $\frac{R_{b}}{a \cdot \left( {n + x} \right)} \geq R_{s} > {\frac{R_{b}}{a \cdot \left( {n + {2x}} \right)}.}$

[0063] State m: The control signals TS0˜TSm−1 are HIGH, while the control signal TSm is LOW. Meanwhile, Vm−1 is smaller than Vb and Vm is larger than Vb, thus $\frac{R_{b}}{a \cdot \left( {n + {mx} - x} \right)} \geq R_{s} > {\frac{R_{b}}{a \cdot \left( {n + {mx}} \right)}.}$

[0064] State m+1: All the control signals TS0˜TSm are HIGH. Meanwhile, Vm is larger than Vb, thus $\frac{R_{b}}{a \cdot \left( {n + {mx}} \right)} \geq {R_{s}.}$

[0065] Accordingly, from the foregoing statements, it is obvious that State 0 as well as State m+1 represents the boundary of Rs and State 1 to State m represents an effective range of Rs. In other words, Rs ranges from $\frac{R_{b}}{a \cdot n}$

[0066] to $\frac{R_{b}}{a \cdot \left( {n + {mx}} \right)}$

[0067] with variation of ${\Delta \quad R_{s,{MAX}}} = {\frac{m \cdot x \cdot R_{b}}{a \cdot n \cdot \left( {n + {mx}} \right)}.}$

[0068]FIG. 8 is a circuit diagram showing a composite resistor unit 23′ associated with the detection unit in FIG. 6. The composite resistor unit 23′ is composed of a fundamental resistor R6 and m resistors R7 connected in series. If the resistance value of R6 is p·n·Rs , the resistance value of R4 is x·p·Rs. The switches SW0˜SWm are controlled by the control signals TS0˜TSm, respectively, from the comparison unit 22′. If the detection state is x, only SWx is turned on, where 0≦x≦m; if the detection state is (m+1), only SWm is turned on. Therefore, there are (m+2) states for the resistance value of the composite resistor unit 23′. These states are described hereinafter. ${{{{State}\quad 0}:\quad {RT}} = {p \cdot n \cdot R_{s}}},{{{{\frac{p}{a} \cdot R_{b}} < {{{RT}.{State}}\quad 1}}:\quad {RT}} = {p \cdot \left( {n + x} \right) \cdot R_{s}}},{{{{\frac{p}{a} \cdot R_{b}} < {RT} \leq {{\frac{P \cdot \left( {n + x} \right)}{a \cdot n} \cdot {R_{b}.{State}}}\quad 2}}:\quad {RT}} = {p \cdot \left( {n + {2x}} \right) \cdot R_{s}}},{{{\frac{p}{a} \cdot R_{b}} < {RT} \leq {{\frac{P \cdot \left( {n + {2x}} \right)}{a \cdot \left( {n + x} \right)} \cdot {R_{b}.{State}}}\quad {m:\quad {RT}}}} = {p \cdot \left( {n + {mx}} \right) \cdot R_{s}}},{{{\frac{p}{a} \cdot R_{b}} < {RT} \leq {{{\frac{P \cdot \left( {n + {mx}} \right)}{a \cdot \left( {n + {mx} - x} \right)} \cdot {R_{b}.{State}}}\quad m} + 1}}:\quad {{RT} \leq {\frac{p}{a} \cdot {R_{b}.}}}}$

[0069] From the fore-mentioned discussion, only from State 1 to State m are valid, therefore, RT reaches its maximum error at State 1. RT_((ERR, MAX)) is expressed as: $\begin{matrix} {{RT}_{({{ERR},{MAX}})} = {{{\frac{p\left( {n + x} \right)}{a \cdot n} \cdot R_{b}} - {\frac{p}{a} \cdot R_{b}}} = {\frac{p \cdot x}{a \cdot n} \cdot R_{b}}}} & (3) \end{matrix}$

[0070] Now, the parameters a, m, n, p, x are determined hereinafter. To begin with, the error range of the resistance value RT of the composite resistor unit 23′, the maximum deviation range of Rs, and the reference resistor Rb have to be determined in advance. Below are some assumptions:

[0071] Assumption 1: The reference resistor Rb is 6.25 kΩ.

[0072] Assumption 2: If the maximum deviation range of Rs, DR, is 40%, the maximum error range of the composite resistor RT is less than 10%.

[0073] Assumption 3: If the sheet resistance value per unit area Rs is equal to 50 Ω and then V0 is equal to Vb, and meanehile the composite resistor RT is larger than 5 kΩ.

[0074] According to the foregoing assumptions, each parameter can be calculated by using the following 5 steps:

[0075] Step 1: By Eq. (3),

RT _((ERR,MAX))/((p·R _(b))/a)=x/n<10%

[0076] Therefore, we take x/n=0.1.

[0077] Step 2: From Assumption 3,

(a·n·50)/R _(b)=1

a·n=R _(b)/50=125.

[0078] Step 3: $\frac{\Delta \quad R_{s}}{\frac{R_{b}}{a \cdot n}} = \left. {\frac{m \times x}{n + {m \times x}} \geq {40\%}}\Rightarrow\quad {m \geq {0.4 \cdot \left( {10 + m} \right)}}\Rightarrow\quad {m \geq 6.67} \right.$

[0079] Therefore, we take m=7.

[0080] Step 4:

[0081] If we take a=2.5,

n=125/2.5=50, and x=5.

[0082] Step 5: From Assumption 3, the detection state is State 1. Hence,

p·(n+x)·R _(s)>5k

p>1.8.

[0083] Therefore, we take p=2.

[0084] From Step 1 to Step 5, we obtain a=2.5, n=50, p=2, m=7, and x=5. These values are then applied in Eq. (3) so that results can be obtained, as shown in Table 2. Note that the unit is in Ω. TABLE 2 State 0 50 < R_(s) 5 k < RT State 1 45.45 < R_(s) ≦ 50   5 k < RT ≦ 5.5 k  State 2 41.67 < R_(s) ≦ 45.45 5 k < RT ≦ 5.455 k State 3 38.46 < R_(s) ≦ 41.67 5 k < RT ≦ 5.417 k State 4 35.71 < R_(s) ≦ 38.46 5 k < RT ≦ 5.385 k State 5 33.33 < R_(s) ≦ 35.71 5 k < RT ≦ 5.357 k State 6 31.25 < R_(s) ≦ 33.33 5 k < RT ≦ 5.333 k State 7 29.41 < R_(s) ≦ 31.25 5 k < RT ≦ 5.313 k State 8 R_(s) ≦ 29.41 RT ≦ 5 k ΔR_(s,MAX) = 20.59 RT_(ERR,MAX) = 0.5 k ΔR_(s,MAX)/50 = 41% RT_(ERR,MAX)/50 = 10%

[0085] According to Table 2, even though the variation of Rs is as high as 41%, the variation of RT is only 10%.

[0086]FIG. 9A is a circuit diagram showing a third embodiment of the detection unit 21″ in accordance with the present invention. As shown in FIG. 9A, the detection unit 21″ comprises an operational amplifier 211, a reference current path Pb and a comparison current path Po. The reference current path Pb of the detection unit 21″ comprises a reference transistor unit composed of a primary reference transistor Tb and a plurality of secondary reference transistors T1˜Tm connected in parallel. The reference current path Pb provides a reference current Ib through a transistor Ta into a resistor Rb. Each of the secondary reference transistors T1˜Tm is controlled by a corresponding switch SWT1˜SWTm, respectively. The corresponding switch SWT1˜SWTM is controlled by using a periodic control signal CS1˜CSm, respectively, generated by a timing generator 212. FIG. 12 is a timing diagram showing the signals controlling the switches of the detection unit in FIG. 9A. The comparison current path Po comprises an output transistor To and an output resistor R8, and the resistance value of R8 is nRs. If the aspect ratio of the primary reference transistor Tb, each of the secondary reference transistor T1˜Tm, and the output transistor To is p:1:q and the control signal is High so that the switch SWTn is turned on, the output voltage can be expressed as: $V_{0,x} = {{I_{b,x} \cdot R_{8}} = {\frac{q}{p + x}{\frac{V_{b}}{R_{b}} \cdot n \cdot R_{s}}}}$

[0087] ,wherein 0≦x≦m

[0088]FIG. 10 is a circuit diagram showing a comparison unit associated with the detection unit 21″ in FIG. 9A. In FIG. 10, the comparison unit is composed of a comparator 220″. The non-inverting input terminal of the comparator receives an output voltage Vo, the inverting input terminal receives a reference voltage Vb, and the output terminal outputs an output signal TSo. The output signal TSo is stored in different registers REG0˜REGm with time. That is, for each time interval x, the output signal Tso is start in REGx, respectively, wherein 0<x<m . The registers REG0˜REGm output control signals TS0˜TSm. Since the output voltage V0˜Vm decreases by degrees with time, there are (m+2) states for the control signals TS0˜TSm after a control period is completed. Each of the states is described as below:

[0089] State 0: All the control signals TS0˜TSm are LOW. Meanwhile, $R_{s} < {\frac{p}{q \cdot n} \cdot {R_{b}.}}$

[0090] State 1: The control signal TS0 is HIGH, while the other control signals TS1˜TSm are LOW. Meanwhile, ${\frac{p}{q \cdot n} \cdot R_{b}} \leq R_{s} < {\frac{p + 1}{q \cdot n} \cdot {R_{b}.}}$

[0091] State 2: The control signals TS0˜TS1 are HIGH, while the other control signals TS2˜TSm are LOW. Meanwhile, V1 is smaller than Vb and V2 is larger than Vb, thus ${\frac{p + 1}{q \cdot n} \cdot R_{b}} \leq R_{s} < {\frac{p + 2}{q \cdot n} \cdot {R_{b}.}}$

[0092] State m: The control signals TS1˜TSm−1 are HIGH, while the control signal TSm is LOW. Meanwhile, ${\frac{p + m - 1}{q \cdot n} \cdot R_{b}} \leq R_{s} < {\frac{p + m}{q \cdot n} \cdot {R_{b}.}}$

[0093] State m+1: All the control signals TS1˜TSm are HIGH. Meanwhile, ${\frac{p + m}{q \cdot n} \cdot R_{b}} \leq {R_{S}.}$

[0094] Accordingly, from the foregoing statements, it is obvious that State 0 as well as State m+1 represents the boundary of Rs and State 1 to State m represents an effective range of Rs. In other words, Rs ranges from $\frac{p}{q \cdot n} \cdot R_{b}$

[0095] to $\frac{p + m}{q \cdot n} \cdot R_{b}$

[0096] with variation of ${\Delta \quad R_{s,{MAX}}} = {\frac{m}{q \cdot n} \cdot {R_{b}.}}$

[0097]FIG. 11 is a circuit diagram showing a composite resistor unit associated with the detection unit 21″ in FIG. 9A. The composite resistor unit is composed of a fundamental resistor R9 and (m+1) resistors R10 connected in parallel, wherein the fundamental resistor R9 is not provided with any switch, while each of the (m+1) resistors R10 is controlled by a switch SW0˜SWm, respectively. If the resistance value of R9 is ${{2{a \cdot {Rs}}}//{\frac{a}{p - 1} \cdot R_{s}}},$

[0098] the resistance value of R10 is a·Rs . The switches SW0˜SWm are controlled by the control signals TS0˜TSm, respectively, from the comparison unit 22″. If TSx is High, the switch SWx is turned on; otherwise, the switch is turned off, where 0≦x≦m . Therefore, there are (m+2) states for the resistance value of the composite resistor unit 23″. These states are described hereinafter. ${{{{State}\quad 0}:\quad {RT}} = \frac{2{a \cdot R_{s}}}{{2p} - 1}},{{{{RT} < {{\frac{p}{{2p} - 1} \cdot \frac{2a}{n \cdot q} \cdot {R_{b}.{State}}}\quad 1}}:\quad {RT}} = \frac{2{a \cdot R_{s}}}{{2p} + 1}},{{\frac{p}{{2p} + 1} \cdot \frac{2a}{n \cdot q} \cdot R_{b}} \leq {RT} < {\frac{p + 1}{{2p} + 1} \cdot \frac{2a}{n \cdot q} \cdot {R_{b}.\ldots}}}$ ${{{State}\quad {m:\quad {RT}}} = \frac{2{a \cdot R_{s}}}{{2p} + {2m} - 1}},{{{{\frac{p + m - 1}{{2p} + {2m} - 1} \cdot \frac{2a}{n \cdot q} \cdot R_{b}} \leq {RT} < {{{\frac{p + m}{{2p} + {2m} - 1} \cdot \frac{2a}{n \cdot q} \cdot {R_{b}.{State}}}{\quad \quad}m} + 1}}:\quad {RT}} = \frac{2{a \cdot R_{s}}}{{2p} + {2m} + 1}},{{\frac{p + m}{{2p} + {2m} + 1} \cdot \frac{2a}{n \cdot q} \cdot R_{b}} \leq {RT}}$

[0099] From the fore-mentioned discussion, only from State 1 to State m are valid. It is evident that both the upper limit and the bottom limit of RT are either monotonously increasing or monotonously decreasing, and that the upper limit is always larger than the bottom limit. Therefore, RT is always within a certain range and reaches its maximum error at State 1. RT_((ERR, MAX)) is expressed as: $\begin{matrix} {{RT}_{({{ERR},{MAX}})} = {\frac{1}{{2p} + 1} \cdot \frac{2a}{q \cdot n} \cdot R_{b}}} & (4) \end{matrix}$

[0100] Now, the parameters a, m, n, p, x are determined hereinafter. To begin with, the error range of the resistance value RT of the composite resistor unit 23″, the maximum deviation range of Rs, and the reference resistor Rb have to be determined in advance. Below are some assumptions:

[0101] Assumption 1: The reference resistor Rb is 5 kΩ.

[0102] Assumption 2: If the maximum deviation range of Rs, DR, is 40%, the maximum error range of the composite resistor RT is less than 10%.

[0103] Assumption 3: If the sheet resistance value per unit area Rs is equal to 50 Ω, q=2p, and SWT1˜SWTm are open, and then Vo,0 is equal to Vb. Meanwhile the composite resistor RT is at least 200 Ω.

[0104] According to the foregoing assumptions, each parameter can be calculated by using the following 4 steps:

[0105] Step 1: From Assumption 3,

(q·n·R _(s))/(p·R _(b))=1

n=50.

[0106] Step 2: $\frac{{RT}_{({{ERR},{MAX}})}}{\frac{p}{{2p} + 1} \cdot \frac{2{a \cdot R_{b}}}{q \cdot n}} = \left. {\frac{1}{p} \leq 0.1}\Rightarrow{p \geq 10} \right.$

[0107] Therefore, we take p=10 and thus q=20.

[0108] Step 3: $\frac{\Delta \quad R_{s,{MAX}}}{\frac{p \cdot R_{b}}{q \cdot n}} = {\left. {\frac{m}{p} \geq {40\%}}\Rightarrow{m \geq {0.4 \cdot p}} \right. = 4}$

[0109] Therefore, we take m=4.

[0110] Step 4: From Assumption 3, the detection state is State 1. Hence, $\left. {\frac{2 \cdot a \cdot R_{s}}{{2p} + 1} > 200}\Rightarrow{a \geq 42.} \right.$

[0111] Therefore, we take a=42.

[0112] From Step 1 to Step 4, we obtain a=42, n=50, p=10, m=4, and q=20. These values are then applied in Eq. (4) so that results can be obtained, as shown in Table 3. Note that the unit is in Ω. TABLE 3 State 0 R_(s) < 50 RT < 221.05 State 1 50 ≦ R_(s) < 55 200 ≦ RT < 220 State 2 55 ≦ R_(s) < 60 200.08 ≦ RT < 219.13 State 3 60 ≦ R_(s) < 65 201.60 ≦ RT < 218.40 State 4 65 ≦ R_(s) < 70 202.22 ≦ RT < 217.78 State 5 70 ≦ R_(s) 202.76 ≦ RT ΔR_(s,MAX) = 20 RT_(ERR,MAX) = 20 ΔR_(s,MAX)/50 = 40% RT_(ERR,MAX)/200 = 10%

[0113] According to Table 3, even though the variation of Rs is as high as 40%, the variation of RT is only 10%.

[0114]FIG. 9B is a circuit diagram showing a fourth embodiment of the detection unit 21′″ in accordance with the present invention. As shown in FIG. 9B, the detection unit 21′″ comprises an operational amplifier 211, a reference current path Pb and a comparison current path Po. The reference current path Pb provides a reference current Ib through a transistor Ta into a resistor Rb. The comparison current path Po comprises an output transistor unit composed of a primary output transistor To and a plurality of secondary output transistors T1˜Tm connected in parallel. Each of the secondary output transistors T1˜Tm is controlled by a corresponding switch SWT1˜SWTm, respectively. The corresponding switch SWT1˜SWTm is controlled by using a periodic control signal CS1˜CSm, respectively, generated by a timing generator 212. FIG. 12 is a timing diagram showing the signals controlling the switches of the detection unit in FIG. 9B. FIG. 10 is a circuit diagram showing a comparison unit associated with the detection unit 21′″ in FIG. 9B. FIG. 11 is a circuit diagram showing a composite resistor unit associated with the detection unit 21′″ in FIG. 9B.

[0115] The parameters obtained in the foregoing embodiments should only be exemplary and explanatory but restrictive of the invention. Those who are skilled in this art can make modifications according to practical uses.

[0116] Furthermore, the present invention further discloses an impedance matching method, comprising steps of:

[0117] (a) a detection step, including: providing a reference voltage and a reference resistance, generating a reference current according to the reference resistance, and generating a plurality of comparison voltages corresponding to various resistance values according to the reference current;

[0118] (b) a comparison step, including: comparing the reference voltage and the plurality of comparison voltages, and generating a control signal; and

[0119] (c) a composite resistor step, including: controlling a composite resistor unit having a plurality of switches by using the control signal so as to generate a matched impedance; wherein the control signal controls the operation of the switches.

[0120] In the detection step, a current mirror is employed to map the reference current onto a plurality of comparison current paths with various resistance values so as to generate the plurality of comparison voltages with various voltage values. The reference resistor can be implemented by using an external resistor so as to increase the accuracy of the output resistance. In the comparison step, a plurality of comparators are employed to compare the reference voltage and the comparison voltages so as to generate a plurality of control signals. The control signals further control the switches to obtain a required resistance value.

[0121] According to the above discussion, the present invention discloses an impedance matching circuit with automatic adjustment by using a composite resistor unit so as to generate a resistance value within a designed range and an impedance matching method. Therefore, the present invention has been examined to be progressive, advantageous and applicable to the industry.

[0122] Although this invention has been disclosed and illustrated with reference to particular embodiments, the principles involved are susceptible for use in numerous other embodiments that will be apparent to persons skilled in the art. This invention is, therefore, to be limited only as indicated by the scope of the appended claims. 

What is claimed is
 1. An impedance matching circuit with automatic adjustment, comprising: a resistor, for receiving a reference voltage and generating a reference current; a detection unit, for detecting resistance variation and generating a plurality of comparison voltages according to said reference current; a comparison unit, for comparing said reference voltage with said comparison voltages, and generating a control signal; and a composite resistor unit, for receiving said control signal and generating a matched impedance.
 2. The circuit as recited in claim 1, wherein said detection unit comprises: a reference current path, composed of a reference transistor and said resistor; a fundamental current path, composed of a fundamental transistor and a fundamental resistor connected in series, wherein a current mirror is formed of said fundamental transistor and said reference transistor of said reference current path; and a plurality of comparison current paths, each composed of a comparison transistor and a comparison resistor, wherein a current mirror is formed of said comparison transistor and said reference transistor of said reference current path, and wherein said comparison resistors have different resistance values.
 3. The circuit as recited in claim 2, wherein each of said comparison resistors in each of said comparison current paths has a smaller resistance value than that of said fundamental resistor of said fundamental current path.
 4. The circuit as recited in claim 3, wherein said comparison unit comprises a plurality of comparators, each having an input terminal receiving said reference voltage and the other input terminal receiving said comparison voltage so as to generate said control signal.
 5. The circuit as recited in claim 4, wherein said composite resistor unit comprises: a fundamental resistor; and a plurality of control resistors connected in parallel with said fundamental resistor, each control resistor controlled by a different switch; wherein each of said switches is controlled by said control signal.
 6. The circuit as recited in claim 2, wherein each of said comparison resistors in each of said comparison current paths has a larger resistance value than that of said fundamental resistor of said fundamental current path.
 7. The circuit as recited in claim 6, wherein said comparison unit comprises a plurality of comparators, each having an input terminal receiving said reference voltage and the other input terminal receiving said comparison voltage so as to generate said control signal.
 8. The circuit as recited in claim 7, wherein said composite resistor unit comprises: a fundamental resistor; a plurality of control resistors connected in series with said fundamental resistor on one terminal; and a plurality of switches, each having a terminal connected to said control resistors connected in series and the other terminal connected to one terminal of each of said control resistors; wherein each of said switches is controlled by said control signal.
 9. The circuit as recited in claim 1, wherein said detection unit comprises: a reference current path, composed of a reference transistor unit and said resistor, wherein: said reference transistor unit is composed of a primary reference transistor and a plurality of secondary reference transistors connected in parallel, the gate of said primary reference transistor is connected to the gates of said secondary reference transistors; and each of said secondary reference transistors of said reference transistor unit is connected to a control switch in series; a fundamental current path, composed of an output transistor and an output resistor connected in series, wherein a current mirror is formed of said output transistor and said reference transistor unit of said reference current path so as to generate an output voltage across said output resistor; and a timing generator, for providing a first control signal so as to control a plurality of said control switches of said secondary reference transistors.
 10. The circuit as recited in claim 9, wherein said control switches are turned on in sequence within a constant period of time so as to change said output voltage.
 11. The circuit as recited in claim 10, wherein said comparison unit comprises: a comparator, having an input terminal receiving said reference voltage and the other input terminal receiving said comparison voltage so as to generate a comparison control signal; and a plurality of registers, for storing said comparison control signal when said control switches are turned on in sequence and outputting resister values from said plurality of registers as said control signal.
 12. The circuit as recited in claim 11, wherein said composite resistor unit comprises: a fundamental resistor; a plurality of control resistors controlled by various switches, wherein said control resistors and said fundamental resistor are connected in parallel; and wherein said switches are controlled by said control signals.
 13. The circuit as recited in claim 12, wherein said secondary reference transistors have the same aspect ratio.
 14. The circuit as recited in claim 1, wherein said detection unit comprises: a reference current path, composed of a reference transistor and said resistor; a fundamental current path, composed of an output transistor unit and an output resistor connected in series, wherein a current mirror is formed of said output transistor and said reference transistor unit of said reference current path so as to generate an output voltage across said output resistor; wherein: said output transistor unit is composed of a primary output transistor and a plurality of secondary output transistors connected in parallel, the gate of said primary output transistor is connected to the gates of said secondary output transistors; and each of said secondary output transistors of said output transistor unit is connected to a control switch in series; a timing generator, for providing a first control signal so as to control a plurality of said control switches of said secondary output transistors.
 15. The circuit as recited in claim 14, wherein said control switches are turned on in sequence within a constant period of time so as to change said output voltage.
 16. The circuit as recited in claim 14, wherein said comparison unit comprises: a comparator, having an input terminal receiving said reference voltage and the other input terminal receiving said comparison voltage so as to generate a comparison control signal; and a plurality of registers, for storing said comparison control signal when said control switches are turned on in sequence and outputting resister values from said plurality of registers as said control signal.
 17. The circuit as recited in claim 14, wherein said composite resistor unit comprises: a fundamental resistor, a plurality of control resistors controlled by various switches, wherein said control resistors and said fundamental resistor are connected in parallel; and wherein said switches are controlled by said control signals.
 18. An impedance matching method, comprising steps of: a detection step, including: providing a reference voltage and a reference resistance, generating a reference current according to said reference resistance, and generating a plurality of comparison voltages corresponding to various resistance values according to said reference current; a comparison step, including: comparing said reference voltage and said plurality of comparison voltages, and generating a control signal; and a composite resistor step, including: controlling a composite resistor unit having a plurality of switches by using said control signal so as to generate a matched impedance; wherein said control signal controls the operation of said switches.
 19. The method as recited in claim 18, wherein said reference resistance is implemented by using an external resistor.
 20. The method as recited in claim 19, wherein said detection step employs a current mirror to map said reference current onto a plurality of comparison current paths with various resistance values so as to generate said plurality of comparison voltages with various voltage values. 